package com.cby.assist.Sample;

import android.content.Context;
import android.content.Intent;

import com.cby.assist.kits.Category;
import com.cby.assist.kits.IKit;


/**
 * 描述信息
 *
 * @author 徐智伟
 * @create 2019/5/10
 */
public class EnvSwitchKit implements IKit {
  @Override
  public int getCategory() {
    return Category.BIZ;
  }

  @Override
  public int getName() {
    return R.string.env_config;
  }

  @Override
  public int getIcon() {
    return R.mipmap.dk_net_work_monitor_summary;
  }

  @Override
  public void onClick(Context context) {
    Intent intent = new Intent(context, EnvConfigActivity.class);
    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    context.startActivity(intent);
  }

  @Override
  public void onAppInit(Context context) {

  }
}
